package com.eat.fish_service.controller.web;

import com.eat.common_utils.R;
import com.eat.fish_service.entity.ExpertCheck;
import com.eat.fish_service.service.ExpertCheckService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/fish_service/administrator")
@Api(tags ="管理员接口")
@CrossOrigin
public class AdministratorController {

    @Autowired
    private ExpertCheckService expertCheckService;

    /**
     * 获取专家审核序列
     *
     * @return
     */
//    @ApiOperation(value = "获取专家审核序列")
//    @GetMapping("getAllExpertCheck")
//    public R getAllExpertCheck() {
//        return expertCheckService.getAllExpertCheck();
//    }

    /**
     * 通过用户的专家审核
     */
//    @ApiOperation(value = "通过用户的专家审核")
//    @PostMapping("passExpertCheck")
//    public R passExpertCheck(@RequestBody ExpertCheck expertCheck){
//        return expertCheckService.passExpertCheck(expertCheck);
//    }
}
